class Home:

    def GET(self):
        return "welcome hello,nb people,good or bad,don't know"

    def POST(self):
        from bs4 import BeautifulSoup
        html = "<h1 class='dtif-h'>fuck</h1><h1 class='dtif-h'>fuck45</h1>"
        soup = BeautifulSoup(html)
        print soup


if __name__ == '__main__':
    from bs4 import BeautifulSoup
    html = "<h1 class='dtif-h'>fuck45</h1><h1 class='dtif-h'>fuck</h1>"
    soup = BeautifulSoup(html)
    print soup.find_all("h1", class_="dtif-h")
